<template>
  <div class="life">
    <h1>这个是Left组件</h1>
    <p>这个是Right组件内容</p>
    <p>Right组件X坐标:{{ left }} px</p>
    <p>Right组件Y坐标:{{ right }} px</p>
  </div>
</template>

<script>
import clickPoint from "../mixins";
export default {
  name: "Left",
  mixins: [clickPoint],
};
</script>

<style>
.life {
  background-color: olivedrab;
  width: 400px;
  height: 400px;
}
</style>